package com.hava.film.timeline.xmeml.v5.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import java.util.List;
import java.util.ArrayList;

@JacksonXmlRootElement(localName = "bin")
public class Bin {

    //一个或者多个元素
    @JacksonXmlProperty(localName = "name")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> name = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "children")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Children> children = new ArrayList<Children>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "labels")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Labels> labels = new ArrayList<Labels>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "comments")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Comments> comments = new ArrayList<Comments>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "uuid")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> uuid = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "updatebehavior")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> updatebehavior = new ArrayList<String>();

}
